#ifndef GHOST_H
#define GHOST_H

#include<QMap>
#include<QVector>
#include<QString>
#include"Role.h"
#include"brick.h"

class Ghost {
public:
    QString direction;
    int die_state;
    Role *role;
    Brick *brick;
    QVector <QVector<int>> v1;
    QMap<int, QVector<QVector < int>>> m;
    QVector<QVector < int>>::
        iterator itm;

    void Ghost_Init();

    void Ghost_State(Role *m,Brick *r);

    void Ghost_Move();

    Ghost();
};

#endif // MASTER_H
